<% sub_forums = @forums || Forum.find_top -%>
<% @count = @count.nil? ? 0 : @count + 1 -%>
<ul id="forums_<%= @count %>">
<% for forum in sub_forums -%>
  <li id="forum_<%= forum.id %>"><%=h forum.name %>
  <% unless forum.children.empty? -%>
  <% @forums = forum.children %>
  <%= render :partial => 'sort_list' %>
  </li>
  <% end -%>
<% end %>
</ul>
